<?php 
require_once './weixin/WxSdk.php';
$appid = 'wx3297d5f764420ef2';
$secret = 'bc8108142b1412c75578b84763d97619';
 
 $menu = new Menu($appid , $secret);
 $button = array(

     array(
         "type" => "view", 
		 "name" => "h+社区",
         "url"  => "http://www.65g.cn/happy/index.php/Weixin/Start/getOpenId"
     ),
    
 );

  
 $res = $menu->menuCreate($button);
 
  print_r($res);


?>

